package LinkList;

public class MyLinkListTest {
    public static void main(String[] args) {
        MyLinkList list=new MyLinkList();
        list.addFirst(1);
        list.addFirst(2);
        list.addFirst(2);
        list.addFirst(2);
        System.out.println(list.size());
        list.addLast(3);
        list.addIndex(2,1);
        list.display();
        list.remove(2);
        list.display();
        list.removeAllKey(1);
        list.display();
    }
}
